import { defineStore } from 'pinia';
import { getStoreId } from './utils.js';

const id = getStoreId('netAndScenic');
export const netAndScenicDataStore = defineStore(id, {
  state: () => ({
    netYardIds: '', //网约房ids
    scenicIds: '', //景区ids
  }),
  getters: {},
  actions: {
    setNetYardIds(data) {
      this.netYardIds = data;
    },
    setScenicIds(data) {
      this.scenicIds = data;
    },
  },
});
